package com.iotimc.networklibrary.core;

/**
 * Created by david on 2017/8/4.
 * @author  david
 */

public class ProgressModel {
    long currentBytes;
    long contentLength;
    boolean done;

    public ProgressModel(long totalBytesRead, long l, boolean b) {
        this.currentBytes = totalBytesRead;
        this.contentLength = l;
        done = b;
    }


    public long getCurrentBytes() {
        return currentBytes;
    }

    public long getContentLength() {
        return contentLength;
    }

    public boolean isDone() {
        return done;
    }
}
